html,body{
    height: 100%;
}
*{
    margin: 0;
    padding: 0;
}
.body{
    display: flex;
    height: 100%;
    flex-direction: column;
}

header{
    width: 100%;
    height: 50px;
    background-color:white;
    position: fixed;
    top: 0;  
}
header>p{
    font-weight: 600;
    line-height: 50px;
    text-align: center;
}
.main{
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    overflow: auto;
    background-color: rgba(240, 240, 238, 0.795);
}

footer{
    width: 100%;
    height: 50px;
    background-color:#fff;
    position: fixed;
    bottom: 0;
}
#right{
    width: 220px;
    height: 40px;
    position: absolute;
    margin: 0;
    padding: 0;
    right: 10px;
	top: 50%;
	transform: translateY(-50%);
}
.footer{
    width: 220px;
    height: 100%;
    display: flex;
}
#div1{
    color: red;
    border-radius: 50px 0 0 50px;
    width: 120px;
    height: 40px;
    border: 1px solid red;
    line-height: 40px;
    text-align: center;
    
}
#div1::after{
    content: ' ';
    position: relative;
    width: 0;
    height: 0;
    top: -31px;
    left: 10px;
    border-width: 0 20px 42px;
    border-right: 0;
    border-style: solid;
    border-color: transparent transparent red;
}
#div3{
    color: #fff;
    background-color: red;
    border-radius: 0 50px 50px 0;
    width: 100px;
    height: 40px;
    border: 1px solid red;
    line-height: 40px;
    text-align: center;
    
}